<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="/page/template.xhtml">
	<ui:define name="cabecalho">
		<title>Contato</title>
	</ui:define>
	<ui:define name="conteudo">
		<div id="adbox">
			<img src="../images/fone.jpg" alt="Img" height="444" width="630" />
			<div class="info">
				<h1>Contato</h1>
				<p>(19) 99167-6182 <br/>
					GUSTAVOCARVALHO_TI@HOTMAIL.COM
				</p>
			</div>
		</div>
		<!-- /#adbox -->
		<h1>Preencha nosso formulário que entramos em contato</h1>
		<div class="section">
			<h:form id="form">
				<p:growl id="msg"/>
				<p class="column2">
					Nome: <br/>
					<p:inputText value="#{contatoBean.contato.nome}" size="50" maxlength="50"/><br/>			
					Mensagem: <br/>
					<p:inputTextarea value="#{contatoBean.contato.msg}" maxlength="200" rows="5" cols="50"/>
					<br/><br/>
					<p:commandButton value="Cadastrar" action="#{contatoBean.salvar}" update="@form" />
				</p>
				<p:galleria value="#{galeriaBean.images}" var="image" panelWidth="500" panelHeight="313" showCaption="true">  
   					<p:graphicImage value="../images/#{image}" alt="Image Description for #{image}" title="#{image}"/>  
				</p:galleria> 
				<h4>				
					Em breve entraremos em contato XD
				</h4>
			</h:form>
		</div>
	</ui:define>
</ui:composition>
</html>